# 变量配置
import os
import time

class Configure:
    dir_name = os.path.dirname(os.path.abspath(__file__))
    root_name = os.path.dirname(dir_name)

    # 测试用例
    cases_data = os.path.join(root_name, r'data\cases.xlsx')

    # 测试用例方法
    test_data = os.path.join(root_name, 'test_cases')

    # 报告路径
    report_path = os.path.join(root_name, 'report')

    if not os.path.exists(report_path):
         os.mkdir(report_path)
    ts = str(int(time.time()))
    html_name = 'report_{}.html'.format(ts)
    file_path = os.path.join(report_path, html_name)

    #yaml路径
    seting_path = os.path.join(root_name,'config')
    yaml_path = os.path.join(seting_path, 'config.yaml')


    host = 'http://api.lemonban.com'





